package com.yuanian.timingwheel.model.task.executestragy;

import com.yuanian.timingwheel.model.task.base.Task;

public class OnceExecutionStrategy implements ExecutionStrategy {

    protected Task task;

    public OnceExecutionStrategy(Task task) {
        this.task = task;
    }

    @Override
    public void onSuccess() {

    }

    @Override
    public boolean onFailure() {
        return false;
    }
}
